﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyPublisher.Composition
{
    public class Fragment
    {
        public static Fragment Empty{get;private set;}

        static Fragment()
        {
            Empty = new Fragment() { Type = FragmentType.NONE};
        }

        public Fragment() { }

        public Fragment(FragmentType type, string path) 
        {
            this.Type = type;
            this.Path = path;
        }

        public FragmentType Type { get; set; }

        public string Path { get; set; }
    }
}
